package com.stephenone.zhdaily.data.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/11/3.
 */

public class News {

    /**
     * date : 20171103
     * stories : [{"images":["https://pic1.zhimg.com/v2-28721ca0edf40392b917a8f6ef172ed4.jpg"],"type":0,"id":9654991,"ga_prefix":"110310","title":"看起来不像地球生物，但它又确实在地球上活得好好的\u2026\u2026"},{"images":["https://pic3.zhimg.com/v2-3e635edf8ab70dd77a877a20942a73f6.jpg"],"type":0,"id":9654844,"ga_prefix":"110309","title":"猜猜看，地铁一般建在地下多深的地方？"},{"images":["https://pic2.zhimg.com/v2-692379eef7b60ee2339aa4aaf154f3b9.jpg"],"type":0,"id":9654879,"ga_prefix":"110308","title":"用上这些方法，我们找到了不少人类的未来家园"},{"images":["https://pic1.zhimg.com/v2-85a9a856e16dda69da186746a80ca704.jpg"],"type":0,"id":9654809,"ga_prefix":"110307","title":"一个研究了上百年的问题：「水泥」为什么会硬？"},{"images":["https://pic3.zhimg.com/v2-ac6d988e8eeaeacccda4627067c866de.jpg"],"type":0,"id":9655055,"ga_prefix":"110307","title":"害怕错过人工智能的年轻人：有人进速成班，有人忙着开公司，博士们跑着进BAT"},{"images":["https://pic3.zhimg.com/v2-c85e6c2a0527d2e382e63975160f27a2.jpg"],"type":0,"id":9654729,"ga_prefix":"110307","title":"那个在东京开「兰州拉面」的日本人"},{"images":["https://pic4.zhimg.com/v2-27a9664362ce1c20d5d679d451beb473.jpg"],"type":0,"id":9544893,"ga_prefix":"110306","title":"瞎扯 · 如何正确地吐槽"}]
     * top_stories : [{"image":"https://pic3.zhimg.com/v2-d4faed9b48616c0930623b7936d52122.jpg","type":0,"id":9654844,"ga_prefix":"110309","title":"猜猜看，地铁一般建在地下多深的地方？"},{"image":"https://pic4.zhimg.com/v2-73c51f5c469f73a05aa3f7d676d5960f.jpg","type":0,"id":9654729,"ga_prefix":"110307","title":"那个在东京开「兰州拉面」的日本人"},{"image":"https://pic1.zhimg.com/v2-e726590263fb85ed9586c8fc5692b42c.jpg","type":0,"id":9655055,"ga_prefix":"110307","title":"害怕错过人工智能的年轻人：有人进速成班，有人忙着开公司，博士们跑着进BAT"},{"image":"https://pic3.zhimg.com/v2-c7e231370c29b3324e4ae766bc8d5466.jpg","type":0,"id":9654952,"ga_prefix":"110214","title":"薛之谦新专辑的封面是不是抄袭了国外摄影师的作品，我的答案是\u2026\u2026"},{"image":"https://pic4.zhimg.com/v2-b0541a52263ebbedce82325755e64557.jpg","type":0,"id":9653385,"ga_prefix":"110216","title":"第一次见面就让你觉得有魅力，这些人是如何做到的？"}]
     */

    private String date;
    private List<Story> stories;
    private List<TopStory> top_stories;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public List<Story> getStories() {
        return stories;
    }

    public void setStories(List<Story> stories) {
        this.stories = stories;
    }

    public List<TopStory> getTop_stories() {
        return top_stories;
    }

    public void setTop_stories(List<TopStory> top_stories) {
        this.top_stories = top_stories;
    }



    public static class TopStory {
        /**
         * image : https://pic3.zhimg.com/v2-d4faed9b48616c0930623b7936d52122.jpg
         * type : 0
         * id : 9654844
         * ga_prefix : 110309
         * title : 猜猜看，地铁一般建在地下多深的地方？
         */

        private String image;
        private int type;
        private long id;
        private String ga_prefix;
        private String title;

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getGa_prefix() {
            return ga_prefix;
        }

        public void setGa_prefix(String ga_prefix) {
            this.ga_prefix = ga_prefix;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        @Override
        public String toString() {
            return "TopStory{" +
                    "image='" + image + '\'' +
                    ", type=" + type +
                    ", id=" + id +
                    ", ga_prefix='" + ga_prefix + '\'' +
                    ", title='" + title + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "News{" +
                "date='" + date + '\'' +
                ", stories=" + stories +
                ", top_stories=" + top_stories +
                '}';
    }
}
